Skip to content

Instantly share code, notes, and snippets.

@dollspace-gay
dollspace-gay / VSDD.md
Last active April 3, 2026 19:15
Verified Spec-Driven Development

Verified Spec-Driven Development (VSDD)

The Fusion: VDD × TDD × SDD for AI-Native Engineering

Overview

Verified Spec-Driven Development (VSDD) is a unified software engineering methodology that fuses three proven paradigms into a single AI-orchestrated pipeline:

  • Spec-Driven Development (SDD): Define the contract before writing a single line of implementation. Specs are the source of truth.
  • Test-Driven Development (TDD): Tests are written before code. Red → Green → Refactor. No code exists without a failing test that demanded it.
@Raukze
Raukze / eco-heating-schedule.yaml
Last active April 3, 2026 19:13
Home Assistant Blueprint: Eco Heating Schedule
blueprint:
name: Eco Heating Schedule by Malte
description: |
# 🌟 Eco Heating Schedule (Thermostats & Climate) 🌡️
This blueprint optimizes your (not so) smart thermostat with intelligent temperature control. Set specific temperatures for different times of day, considering room occupancy and overall home presence. Features manual control override.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/eco-thermostat-schedule/643641)
domain: automation
source_url: https://gist.github.com/Raukze/93f8204864682671ab2b502d2e945077
import SwiftUI
struct KeyInput: UIViewRepresentable {
var isFocused: Bool // FIXME: Can this be integrated with the `focused` modifier?
var insertText: (String) -> Void
var deleteBackward: () -> Void
class UIViewType: UIView, UIKeyInput {
var _insertText: (String) -> Void
var _deleteBackward: () -> Void
@region23
region23 / golang_books_sites.md
Last active April 3, 2026 19:08
Полезные ресурсы для изучающих Go

На русском языке

Русскоязычные сайты и сообщества

English resources

@paultheman
paultheman / mac_keyremapping.md
Last active April 3, 2026 19:06
Guide on how to remap Keyboard keys on macOS

Guide on how to remap Keyboard keys on macOS

Update 17.10.2024: macOS 15 no longer requires root privileges for hidutil, you need to add hidutil and Terminal to 'Input Monitoring' in Settings/Privacy & Security tab.

Update 13.04.2024: On macOS 14.2 hidutil requires root privileges.

If you have a mac with an INT (ISO) keyboard you might want to change the ± key to ~. During my research I found that the information on this topic is not at all centralized. I prefer this option because it does not involve installing new software.

With macOS 10.12 Sierra Apple introduced hidutil as a tool to remap keyboard keys. See TN2450.

@privatecore
privatecore / vscode-dark-plus.sh
Created April 3, 2026 18:59
Apply the VS Code Dark+ theme to GNOME Terminal
#!/bin/bash
# save-as: vscode-dark-plus.sh
# usage: ./vscode-dark-plus.sh ["Profile Name"]
set -euo pipefail
PROFILE_NAME="${1:-Default}"
echo "Profile: $PROFILE_NAME"
@privatecore
privatecore / vscode-dark-plus.ini
Last active April 3, 2026 19:06
Midnight Commander - VS Code Dark+ Theme
[skin]
description = VSCode Dark+ Theme
[Lines]
horiz = ─
vert = │
lefttop = ┌
righttop = ┐
leftbottom = └
rightbottom = ┘
@privatecore
privatecore / base85.sh
Created March 28, 2026 19:39
Encode input using BASE85/ASCII85 variants: Adobe, ZeroMQ, RFC1924
#!/usr/bin/env bash
set -euo pipefail
readonly VERSION="1.0"
generate_adobe_alphabet() {
local alphabet=""
for code in {33..117}; do
alphabet+=$(printf "\\$(printf '%03o' "$code")")
@joe1chief
joe1chief / research-paper-idea-miner-prompt.md
Created March 30, 2026 05:21
Prompt to extract task framing, method insights, engineering value, and publishable extensions from research papers

你是 =第一性原理思考者= 与 =资深大模型算法专家=,擅长从万物基本原理出发推演思路,并具备极强的工程落地直觉。 请你仔细阅读并分析这篇文章,以“寻找成熟解决方案”和“发掘微创新发论点”为双重目的,就以下 5 个模块进行有条理的列举与讲解。 要求:省略所有客套话,采用 Markdown 格式输出,拒绝任何形式的 LaTeX(公式一律用纯文本表达),语言精炼直白。

1. 核心任务与痛点 (Task & Challenge)

  • 核心问题: 这篇文章解决的具体是什么问题?请用最精炼的语言(包含输入和输出的定义)进行形式化描述。
  • 传统瓶颈: 之前的方法在解决该问题时,遇到了什么无法绕开的痛点?(如:数据质量差、训练不稳定、长文本丢失、评估不准确等)

2. 核心方法与创新拆解 (Insight & Methodology)

  • 直觉与洞察: 作者想到这个 idea 的“第一性原理”是什么?(最好以反问句形式给出,如:“既然之前的方法XXX,那我们能不能干脆XXX?”)